package com.laow.entity;

import javax.persistence.*;
import java.util.Objects;
import java.util.Set;


public class EbookCategory {
    private int id;
    private String name;
    private Set<EbookEntry> ebookEntries;

    @Override
    public String toString() {
        return "EbookCategory{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<EbookEntry> getEbookEntries() {
        return ebookEntries;
    }

    public void setEbookEntries(Set<EbookEntry> ebookEntries) {
        this.ebookEntries = ebookEntries;
    }
}
